package com.example.cdc.wrap;

import com.github.shyiko.mysql.binlog.event.EventData;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @className: BinlogUpdateObj
 * @author: chentao
 * @date: 2025/9/25 10:54
 * @Version: 1.0
 * @description:
 */
@Data
public class BinlogUpdateObj extends BinlogObj {

    private List<Map<String, Map<Serializable, Serializable>>> updateRowList = new ArrayList<>();

    public List<Map<String, Map<Serializable, Serializable>>> getUpdateRowList() {
        return updateRowList;
    }

    public void setUpdateRowList(List<Map<String, Map<Serializable, Serializable>>> updateRowList) {
        this.updateRowList = updateRowList;
    }

    public BinlogUpdateObj(String schemaName, String tableName, String type, long timestamp, EventData eventData) {
        super(schemaName, tableName, type, timestamp, eventData);
    }
}
